package cn.edu.thu.laud.lasql.processor;

import org.apache.cassandra.cql.CQLStatement;
import org.apache.cassandra.cql.StatementType;

public class LaSQLStatement extends CQLStatement {
//we use a unusual command type to mark lasql cmd.
	//and we use another field to mark the real cmd type.
	
	private LaSQLAbstractStatement statement;
	public LaSQLStatement(LaSQLAbstractStatement statement) {
		super(StatementType.TRUNCATE, statement);
		this.statement=statement;
		
	}
	public LaSQLAbstractStatement getStatement() {
		return statement;
	}
	public void setStatement(LaSQLAbstractStatement statement) {
		this.statement = statement;
	}

}
